package com.personnel.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * (BonusPenalty)实体类
 *
 * @author yuepeng
 * @since 2022-03-23 10:38:12
 * @version 1.0
 */
public class BonusPenalty implements Serializable {
    private static final long serialVersionUID = 290307179966504487L;
    /**
    * 主键id
    */
    private Integer bonusPenaltyId;
    /**
    * 关联人员id
    */
    private Integer bonusPenaltyStaffId;
    /**
    * 奖惩类型（0为奖励，1为惩罚）
    */
    private Integer type;
    /**
    * 金额
    */
    private String money;
    /**
    * 物品
    */
    private String gift;
    /**
    * 状态（0为未处理，1为已处理）
    */
    private Integer status;
    /**
    * 奖惩内容
    */
    private String detail;
    /**
    * 备注
    */
    private String remark;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;
    /**
    * 删除时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp deleteTime;

    private Staff staff;

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public Integer getBonusPenaltyId() {
        return bonusPenaltyId;
    }

    public void setBonusPenaltyId(Integer bonusPenaltyId) {
        this.bonusPenaltyId = bonusPenaltyId;
    }

    public Integer getBonusPenaltyStaffId() {
        return bonusPenaltyStaffId;
    }

    public void setBonusPenaltyStaffId(Integer bonusPenaltyStaffId) {
        this.bonusPenaltyStaffId = bonusPenaltyStaffId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
        
    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getGift() {
        return gift;
    }

    public void setGift(String gift) {
        this.gift = gift;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
        
    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Timestamp deleteTime) {
        this.deleteTime = deleteTime;
    }
}